<!DOCTYPE html>
<!--[if IE 8]><html lang="zh" class="ie8"><![endif]-->
<!--[if !IE]><!-->
<html lang="zh">
<!--<![endif]-->
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
    <meta name="description" content="" />
    <title>Web系统</title>
    <link rel="stylesheet" href="css/bootstrap/style.default.css"/>

    <!--[if lt IE 9]>
    <script src="js/bootstrap/html5shiv.js"></script>
    <script src="js/bootstrap/respond.min.js"></script>
    <![endif]-->
    <style>
    body{background:#fff}
    </style>
</head>
<body>
<div class="contentpanel">

    <div class="btn-group btn-group-lg">
        <a class="btn btn-success" onclick="top.compose()"><i class="fa fa-floppy-o"></i>&nbsp;组合</a>
        <a class="btn btn-success" onclick="top.loading()"><i class="fa fa-floppy-o"></i>&nbsp;loading</a>
        <a class="btn btn-success" onclick="top.error()"><i class="fa fa-floppy-o"></i>&nbsp;错误提示</a>
        <a class="btn btn-success" onclick="top.othersNoBtn()"><i class="fa fa-floppy-o"></i>&nbsp;无按钮</a>
        <a class="btn btn-success" onclick="openDialog()"><i class="fa fa-floppy-o"></i>&nbsp;iframe</a>
    </div>
    <div class="btn-group btn-group-lg">

        <a class="btn btn-primary" onclick="top.othersDefine(1)"><i class="fa fa-floppy-o"></i>&nbsp;自定义消息1</a>
        <a class="btn btn-primary" onclick="top.othersDefine(2)"><i class="fa fa-floppy-o"></i>&nbsp;自定义消息2</a>
        <a class="btn btn-primary" onclick="top.othersDefine(3)"><i class="fa fa-floppy-o"></i>&nbsp;自定义消息3</a>
        <a class="btn btn-primary" onclick="top.othersDefine(4)"><i class="fa fa-floppy-o"></i>&nbsp;自定义消息4</a>
        <a class="btn btn-primary" onclick="top.othersBtn()"><i class="fa fa-floppy-o"></i>&nbsp;自定义按钮</a>

    </div>
    </div>
<script src="js/bootstrap/jquery-1.11.1.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script>
    //    打开弹窗，{w: 900,h:600}定义弹窗宽度/高度，默认必须带一个属性
    function openDialog() {
        top.top_dialogFrm && top.top_dialogFrm("平台商品编号选择", "portal/goods/goods-pop.html", {w: 900});
    }
    //关闭弹窗
    function closeDialog() {
        top.top_dialogFrm_close && top.top_dialogFrm_close();
    }
</script>
</body>
</html>
